Matthias Clasen [Tue, 16 Sep 2014 03:21:15 +0000 (23:21 -0400)]
Undreprecate GtkMisc::x/yalign for now
These can't quite be replaced by h/valign, so keep the properties
undeprecated for 3.14.
Benjamin Otte [Tue, 16 Sep 2014 02:17:01 +0000 (04:17 +0200)]
iconview: Unset prelit item in leave-notify
We don't want to keep a prelit item when the mouse cursor is elsewhere.
Benjamin Otte [Tue, 16 Sep 2014 00:58:21 +0000 (02:58 +0200)]
iconview: Remove iterm->prelight
item->prelight
is always equal to
iconview->priv->last_prelight == item
so there is no need to track it separately.
Benjamin Otte [Tue, 16 Sep 2014 00:55:24 +0000 (02:55 +0200)]
iconview: always draw a cell background
Don't just draw it for selected cells.
Matthias Clasen [Tue, 16 Sep 2014 01:05:08 +0000 (21:05 -0400)]
Revert "GtkAssistant: Drop use of GtkMisc"
This reverts commit
687eae4b513b367aaff2ad89457e874b935ce3d0.
Still not a solved problem.
Matthias Clasen [Mon, 15 Sep 2014 22:00:24 +0000 (18:00 -0400)]
3.13.9
Benjamin Otte [Mon, 15 Sep 2014 14:06:41 +0000 (16:06 +0200)]
iconview: Don't queue redraws when nothing changes
We were queueing redraws for the old and the new prelit item, even when
they were the same item.
Руслан Ижбулатов [Tue, 9 Sep 2014 14:48:17 +0000 (14:48 +0000)]
build: Set no_undefined in Makefile.decl
This simplifies the code and - more importantly - fixes the cases like
in testsuite/reftests where the no_undefined definition was missing.
https://bugzilla.gnome.org/show_bug.cgi?id=736382
Benjamin Otte [Wed, 10 Sep 2014 14:47:16 +0000 (16:47 +0200)]
treeview: Apply column-header region always
... so that invisible columns get it, too.
Works around weird effects seen when buttons are animated and columns
get hidden/shown.
Benjamin Otte [Mon, 8 Sep 2014 20:45:31 +0000 (22:45 +0200)]
label: Clear layout after setting GtkLabel::lines property
Otherwise the label will not pick up the property.
Chun-wei Fan [Mon, 15 Sep 2014 04:51:52 +0000 (12:51 +0800)]
MSVC Builds: Update "Installation" Process
This updates the property sheets that are used to "install" builds of GTK+
after the libraries and the gtk3-demo programs are built. Note that these
are generated with scripts in regards to the headers part, so that we can
move the header installation part to use autocompletion by the autotools
build files in the next dev cycle or so, like the "gdk" and "gtk" project
files.
Chun-wei Fan [Mon, 15 Sep 2014 04:26:32 +0000 (12:26 +0800)]
gtk/gtkgladecatalog.c: Fix Visual Studio Builds
The _GDK_EXTERN decoration needs to be with the function prototype, if one
exists, so move the _GDK_EXTERN decoration up.
Shantha kumar [Sun, 14 Sep 2014 19:17:06 +0000 (19:17 +0000)]
Updated Tamil translation
Bastien Nocera [Fri, 12 Sep 2014 11:46:05 +0000 (13:46 +0200)]
inspector: Show hidden windows in the inspector
This allows us to access otherwise hidden windows, which can be
useful to provide better debug information than would be available
through other means.
https://bugzilla.gnome.org/show_bug.cgi?id=736557
Matthias Clasen [Sun, 14 Sep 2014 12:36:41 +0000 (08:36 -0400)]
inspector: Fix initial state of dark switch
Noticed while debugging a totem problem.
Chao-Hsiung Liao [Sat, 13 Sep 2014 22:34:28 +0000 (06:34 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)
Lapo Calamandrei [Sat, 13 Sep 2014 14:20:44 +0000 (16:20 +0200)]
Adwaita: osd progressbar fixes
See https://bugzilla.gnome.org/show_bug.cgi?id=735959
Lapo Calamandrei [Sat, 13 Sep 2014 10:25:46 +0000 (12:25 +0200)]
Adwaita: uneven paddings on .text-button.image-button
We want buttons with an icon and text to have the padding of the
text-button on the label side and on the image-button on the icon
side.
Matthias Clasen [Sat, 13 Sep 2014 02:31:25 +0000 (22:31 -0400)]
Drop unused code
Not worth keeping this around.
Matthias Clasen [Sat, 13 Sep 2014 02:21:43 +0000 (22:21 -0400)]
Drop two pointless lines
These return statements weren't making any difference.
Matthias Clasen [Sat, 13 Sep 2014 02:12:26 +0000 (22:12 -0400)]
GtkDnd: Move X11-specific code out of generic code path
There was some X11-specific code before an early exit
in the functions that grab and ungrab keys during DND.
It seems to not cause a problem under Wayland, but moving
it out of the way seems right anyway.
Aurimas Černius [Fri, 12 Sep 2014 19:26:29 +0000 (22:26 +0300)]
Updated Lithuanian translation
Lapo Calamandrei [Fri, 12 Sep 2014 17:09:53 +0000 (19:09 +0200)]
Revert "Adwaita: theme active-menu buttons"
This is app specific, doesn't belongs here.
Alexandre Franke [Fri, 12 Sep 2014 16:05:02 +0000 (16:05 +0000)]
Updated French translation
Lapo Calamandrei [Fri, 12 Sep 2014 16:01:58 +0000 (18:01 +0200)]
Adwaita: theme active-menu buttons
Jakub Steiner [Fri, 12 Sep 2014 12:02:05 +0000 (14:02 +0200)]
Adwaita: keep pathbar the same height as imagebuttons
- the previous patch introduced uneven height on the toolbar
Lapo Calamandrei [Fri, 12 Sep 2014 11:46:17 +0000 (13:46 +0200)]
Adwaita: better stack switcher logic
Now the stack switcher buttons look right even when not in the
header-bar.
Jakub Steiner [Fri, 12 Sep 2014 10:57:52 +0000 (12:57 +0200)]
Adwaita: space pathbar better
https://bugzilla.gnome.org/show_bug.cgi?id=736535
Ross Lagerwall [Thu, 11 Sep 2014 22:27:33 +0000 (23:27 +0100)]
GtkPlacesSidebar: Fix a memory leak
https://bugzilla.gnome.org/show_bug.cgi?id=736512
Ross Lagerwall [Thu, 11 Sep 2014 22:25:24 +0000 (23:25 +0100)]
GtkPlacesSidebar: Don't update bookmark if cancelled
If the query fails because it has been cancelled, it means that
dispose() has been called, so don't try and update anything.
This fixes a segfault with Nautilus in certain situations.
https://bugzilla.gnome.org/show_bug.cgi?id=736512
Ross Lagerwall [Thu, 11 Sep 2014 22:23:55 +0000 (23:23 +0100)]
GtkPlacesSidebar: Only add shortcut if query succeeds
https://bugzilla.gnome.org/show_bug.cgi?id=736512
Changwoo Ryu [Fri, 12 Sep 2014 04:55:01 +0000 (13:55 +0900)]
Updated Korean translation
Matthias Clasen [Fri, 12 Sep 2014 00:42:12 +0000 (20:42 -0400)]
GtkStackSwitcher: More disconnect fixes
When resetting the stack, don't forget to disconnect signals.
https://bugzilla.gnome.org/show_bug.cgi?id=736307
Matthias Clasen [Thu, 11 Sep 2014 19:48:44 +0000 (15:48 -0400)]
GtkMessageDialog: Minor documentatation update
The message area is no longer a vbox.
Ville-Pekka Vainio [Thu, 11 Sep 2014 19:27:22 +0000 (22:27 +0300)]
Finnish translation update by Jiri Grönroos
Takao Fujiwara [Mon, 8 Sep 2014 03:41:48 +0000 (12:41 +0900)]
Update gtk_compose_seqs_compact[] table for French layout bepo variant.
fr(bepo) XKB keymap sends dead_stroke with AltGr+l keys
and gtk-im-simple-context should send '/' with
dead_stroke+dead_stroke keys but gtkimcontextsimpleseqs.h
was not sorted in the descending order and failed to get
dead_stroke.
Also need to add dead_currency for Shift+AltGr+e and
dead_belowcomma for Shift+AltGr+Cedilla.
https://bugzilla.gnome.org/show_bug.cgi?id=736250
Lapo Calamandrei [Wed, 10 Sep 2014 18:03:26 +0000 (20:03 +0200)]
Adwaita: blue selection mode checks
...to make them visible in the dark variant, e.g. Boxes.
Daniel Mustieles [Wed, 10 Sep 2014 10:19:04 +0000 (12:19 +0200)]
Updated Spanish translation
Lapo Calamandrei [Tue, 9 Sep 2014 19:34:05 +0000 (21:34 +0200)]
Adwaita: remove borders from insensitive flat buttons
Matthias Clasen [Tue, 9 Sep 2014 18:48:59 +0000 (14:48 -0400)]
GtkStackSwitcher: Disconnect signals when a child is removed
This is quite an oversight, and causes bad things to happen if
the child is later changed.
https://bugzilla.gnome.org/show_bug.cgi?id=736307
Руслан Ижбулатов [Tue, 9 Sep 2014 10:28:48 +0000 (10:28 +0000)]
Add app-menu.ui to EXTRA_DIST
A S Alam [Tue, 9 Sep 2014 03:24:10 +0000 (22:24 -0500)]
update Punjabi Translation - back for 3.14
Colin Walters [Mon, 8 Sep 2014 21:12:45 +0000 (17:12 -0400)]
Fix stray dash addition in previous commit
Matthias Clasen [Mon, 8 Sep 2014 20:48:53 +0000 (16:48 -0400)]
Remove more leftover —es
These were leftover at various places in the documentation.
Fran Diéguez [Mon, 8 Sep 2014 20:09:04 +0000 (22:09 +0200)]
Updated Galician translations
Matthias Clasen [Mon, 8 Sep 2014 19:23:52 +0000 (15:23 -0400)]
Fix a missing id in the docs
label-text-layout was missing, causing two broken links further
down in the page.
Руслан Ижбулатов [Mon, 8 Sep 2014 15:21:00 +0000 (15:21 +0000)]
Initialize impl_window for foreign W32 windows
https://bugzilla.gnome.org/show_bug.cgi?id=736269
Nilamdyuti Goswami [Mon, 8 Sep 2014 13:52:22 +0000 (13:52 +0000)]
Updated Assamese translation
Marek Černocký [Mon, 8 Sep 2014 11:39:35 +0000 (13:39 +0200)]
Updated Czech translation
Sweta Kothari [Mon, 8 Sep 2014 10:43:31 +0000 (16:13 +0530)]
Updated gujarati translations
Sweta Kothari [Mon, 8 Sep 2014 10:31:40 +0000 (16:01 +0530)]
Updated gujarati translations
Matthias Clasen [Mon, 8 Sep 2014 04:08:01 +0000 (00:08 -0400)]
GtkAssistant: Make Escape cancel the assistant
This is an expected keybinding, and it is not hard to support.
Note that we use a private ::escape signal instead of using
::cancel directly, since we want to be able to suppress the
cancellation when we are on a progress page.
https://bugzilla.gnome.org/show_bug.cgi?id=579625
Rafael Ferreira [Mon, 8 Sep 2014 02:57:57 +0000 (02:57 +0000)]
Updated Brazilian Portuguese translation
Matthias Clasen [Mon, 8 Sep 2014 02:45:08 +0000 (22:45 -0400)]
Fix a thinko in adjustment animation
The target value is only relevant if we're actually animating.
Don't look at it otherwise.
https://bugzilla.gnome.org/show_bug.cgi?id=736178
Matthias Clasen [Mon, 8 Sep 2014 02:25:23 +0000 (22:25 -0400)]
tree view: Fix column drag highlight
This is a bandaid fix that makes the origin case work again
by switching RGBA window. The arrow case is still unreliable.
https://bugzilla.gnome.org/show_bug.cgi?id=732916
Matthias Clasen [Mon, 8 Sep 2014 01:30:01 +0000 (21:30 -0400)]
Link broadway backend against librt
This is needed for shm_open, according to its man page.
https://bugzilla.gnome.org//show_bug.cgi?id=698031
Matthias Clasen [Mon, 8 Sep 2014 01:24:01 +0000 (21:24 -0400)]
Avoid criticals when drags end
Its seems that gtk_gesture_get_last_event may return NULL,
protect against that to avoid critical warnings.
Matthias Clasen [Sun, 7 Sep 2014 02:13:46 +0000 (22:13 -0400)]
Small doc improvement
Rūdolfs Mazurs [Sun, 7 Sep 2014 14:57:01 +0000 (17:57 +0300)]
Updated Latvian translation
Matthias Clasen [Sun, 7 Sep 2014 01:59:23 +0000 (21:59 -0400)]
Better thumbnail for GtkTreeView
This one makes it more obvious that it is a tree with multiple
columns and not just multiline text.
https://bugzilla.gnome.org/show_bug.cgi?id=528800
Timm Bäder [Sat, 6 Sep 2014 17:46:27 +0000 (19:46 +0200)]
inspector: Don't unref NULL objects
When closing the application window before closing the inspector window,
the selected widget will be set to NULL once and all the property pages
will try to g_object_weak_unref that NULL widget, so bail out in
gtk_inspector_prop_list_set_object if it's NULL.
https://bugzilla.gnome.org/show_bug.cgi?id=736201
Matthias Clasen [Sun, 7 Sep 2014 01:32:53 +0000 (21:32 -0400)]
Don't forget to allocate popovers
When GtkApplicationWindow has a menubar, we don't chain up
to the GtkWindow size_allocate, which used to position the
popovers. Move that to _gtk_window_set_allocation() which
is always called by GtkApplicationWindow.
https://bugzilla.gnome.org/show_bug.cgi?id=736205
Matthias Clasen [Sun, 7 Sep 2014 01:28:31 +0000 (21:28 -0400)]
Avoid compiler warnings
The previous commit was sloppy with parameter types.
Matthias Clasen [Sun, 7 Sep 2014 00:56:03 +0000 (20:56 -0400)]
GtkCellRendererAccel: Try harder to capture bound keys
Add a grab on the editable widget, so that we can capture
also shortcuts which are bound in the application itself.
https://bugzilla.gnome.org/736203
Andika Triwidada [Sun, 7 Sep 2014 00:14:08 +0000 (00:14 +0000)]
Updated Indonesian translation
Piotr Drąg [Sun, 7 Sep 2014 00:08:51 +0000 (02:08 +0200)]
Updated Polish translation
Piotr Drąg [Sun, 7 Sep 2014 00:05:35 +0000 (02:05 +0200)]
Updated POTFILES.skip
Benjamin Otte [Sat, 6 Sep 2014 04:41:05 +0000 (06:41 +0200)]
widget: Don't assume opacity is 100%
... just because there is no style context instantiated yet. Instead,
instantiate a style context during realize() and ask it.
Fixes problems with dim labels not being dimmed on first show.
Testcase included.
https://bugzilla.gnome.org/show_bug.cgi?id=735240
Benjamin Otte [Sat, 6 Sep 2014 23:52:45 +0000 (01:52 +0200)]
overlay: Handle overlays when no main widget exists
Just pretend that the main widget is an empty widget the size of the
overlay.
Makes it possible to write testcases where no size requests are run on
overlay widgets before size_allocate() is called.
Testcase included.
Bastien Nocera [Fri, 5 Sep 2014 13:22:47 +0000 (15:22 +0200)]
tooltip: Fix warning with GtkCellRendererAccel
(gnome-shell-extension-prefs:22382): GLib-GObject-WARNING **: invalid cast from 'GtkInvisible' to 'GtkWindow'
(gnome-shell-extension-prefs:22382): Gtk-CRITICAL **: gtk_window_set_transient_for: assertion 'parent == NULL || GTK_IS_WINDOW (parent)' failed
#1 0x00007fffeeb81a12 in g_log (log_domain=log_domain@entry=0x7fffeeea3464 "GLib-GObject", log_level=log_level@entry=G_LOG_LEVEL_WARNING, format=format@entry=0x7fffeeeaa878 "invalid cast from '%s' to '%s'") at gmessages.c:1079
#2 0x00007fffeee9c2a9 in g_type_check_instance_cast (type_instance=0xb314c0, iface_type=iface_type@entry=
9020048) at gtype.c:4021
#3 0x00007ffff0a06e25 in gtk_tooltip_set_last_window (tooltip=tooltip@entry=0xbb8c10, window=<optimized out>) at gtktooltip.c:910
#4 0x00007ffff0a08dfd in _gtk_tooltip_handle_event (event=event@entry=0xbf72c0) at gtktooltip.c:1538
#5 0x00007ffff090d7a9 in gtk_main_do_event (event=0xbf72c0) at gtkmain.c:1785
#6 0x00007ffff0496ab2 in gdk_event_source_dispatch (source=<optimized out>, callback=<optimized out>, user_data=<optimized out>) at gdkeventsource.c:364
#7 0x00007fffeeb7a8c3 in g_main_dispatch (context=0x807300) at gmain.c:3067
https://bugzilla.gnome.org/show_bug.cgi?id=736131
Matthias Clasen [Sat, 6 Sep 2014 23:01:14 +0000 (19:01 -0400)]
GtkCellRendererAccel: Stop editing on focus out
This is not automatic, and with grabs in place, it is awkward
to have focus moved elsewhere, so stop editing whenever the
cell editable loses focus.
Matthias Clasen [Sat, 6 Sep 2014 22:23:37 +0000 (18:23 -0400)]
GtkCellRendererAccel: rework the grabbing
Grab keyboard/mouse on the toplevel, and grab the focus to the
cell editable, so we actually see the key events.
Matthias Clasen [Sat, 6 Sep 2014 21:12:13 +0000 (17:12 -0400)]
Remove an unneeded include
Matthias Clasen [Sat, 6 Sep 2014 20:30:59 +0000 (16:30 -0400)]
testaccel: Add another focus location
It turns out GtkCellRendererAccel does not deal well with focus
being elsewhere. Adding an entry here makes this much easier to
reproduce.
Matthias Clasen [Sat, 6 Sep 2014 20:28:15 +0000 (16:28 -0400)]
testaccel: Handle accel-cleared
Matthias Clasen [Sat, 6 Sep 2014 20:04:41 +0000 (16:04 -0400)]
Revert "gtkcellrendereraccel: Use a GtkInvisible to grab on"
This reverts commit
fe5402d32ebf7f332a2c5f71b9ae50dcf68892fd.
Josef Andersson [Sat, 6 Sep 2014 21:10:23 +0000 (21:10 +0000)]
Updated Swedish translation
Josef Andersson [Sat, 6 Sep 2014 21:07:47 +0000 (21:07 +0000)]
Updated Swedish translation
Matthias Clasen [Sat, 6 Sep 2014 19:43:11 +0000 (15:43 -0400)]
Don't set an input shape unless client-decorated
We were actually setting an input shape larger than the window
in !csd, and this was confusing at least openbox.
https://bugzilla.gnome.org/736064
Matthias Clasen [Sat, 6 Sep 2014 16:47:41 +0000 (12:47 -0400)]
inspector: Fix fallout from function renaming
Timm Bäder [Sat, 6 Sep 2014 14:36:05 +0000 (16:36 +0200)]
inspector: Show widget allocation
https://bugzilla.gnome.org/show_bug.cgi?id=736191
Lapo Calamandrei [Sat, 6 Sep 2014 15:14:09 +0000 (17:14 +0200)]
Adwaita: inhert backdrop selected list rows
Lapo Calamandrei [Sat, 6 Sep 2014 15:09:08 +0000 (17:09 +0200)]
Adwaita: set color on flat buttons in selected list-rows
Lapo Calamandrei [Sat, 6 Sep 2014 15:02:20 +0000 (17:02 +0200)]
Adwaita: better switch on selected list-rows
Hiroyuki Ito [Sat, 6 Sep 2014 01:02:00 +0000 (01:02 +0000)]
Fix a crash in recent chooser DND
Reported in https://bugzilla.gnome.org/show_bug.cgi?id=736173
Lapo Calamandrei [Sat, 6 Sep 2014 14:02:34 +0000 (16:02 +0200)]
Adwaita: really fix tooltips background
See https://bugzilla.gnome.org/show_bug.cgi?id=736155 for details.
Changwoo Ryu [Sat, 6 Sep 2014 09:09:19 +0000 (18:09 +0900)]
Updated Korean translation
Matthias Clasen [Sat, 6 Sep 2014 01:21:49 +0000 (21:21 -0400)]
Fix various compiler warnings
Mostly missing declarations and missing statics.
Matthias Clasen [Sat, 6 Sep 2014 00:52:03 +0000 (20:52 -0400)]
inspector: Fix various compiler warnings
Mostly missing declarations and missing statics.
Matthias Clasen [Sat, 6 Sep 2014 00:44:22 +0000 (20:44 -0400)]
GdkFrameClockIdle: Add a missing declaration
Matthias Clasen [Sat, 6 Sep 2014 00:41:06 +0000 (20:41 -0400)]
Wayland: Fix various compiler warnings
Mostly missing declarations, missing statics and unused functions.
Matthias Clasen [Fri, 5 Sep 2014 23:39:05 +0000 (19:39 -0400)]
Broadway: Fix various compiler warnings
Mostly missing declarations and unused functions.
Christian Kirbach [Fri, 5 Sep 2014 23:02:03 +0000 (23:02 +0000)]
Updated German translation
Jasper St. Pierre [Fri, 5 Sep 2014 21:31:44 +0000 (14:31 -0700)]
wayland: Don't leak the tmp_keymap
This is a static variable, so setting it every time will leak the
previous one.
Jasper St. Pierre [Fri, 5 Sep 2014 22:04:21 +0000 (15:04 -0700)]
wayland: Correctly find the keyboard for the keymap
The list of devices was being scanned over incorrectly, causing us to
never actually fetch the keymap from the keyboard, as the keyboard was
the second device in the list, not the first.
This causes us to create a new temporary keymap every time, which is
quite expensive, because it involves parsing the entire XKB
file. Scanning the list correctly will cause us to use the XKB rules
file that was passed to us.
Matthias Clasen [Fri, 5 Sep 2014 18:57:04 +0000 (14:57 -0400)]
Adwaita: Avoid double backgrounds in tooltips
Matthias Clasen [Fri, 5 Sep 2014 17:43:17 +0000 (13:43 -0400)]
Make a warning more informative
Since we know what size was too large here, why not say it.
Matthias Clasen [Fri, 5 Sep 2014 17:15:14 +0000 (13:15 -0400)]
GtkIconTheme: Make suffix_from_name NULL-safe
This can happen sometimes with GFileIcons that are
not representable as a local path. Better not to crash
in this case.
Lapo Calamandrei [Fri, 5 Sep 2014 14:17:00 +0000 (16:17 +0200)]
Adwaita: tooltip fixes
The "too dark" background was caused by box-shadow inherited by
window-frame.csd, so box-shadow: none and the right background
color on tooltip selector.
Lapo Calamandrei [Fri, 5 Sep 2014 13:05:25 +0000 (15:05 +0200)]
Adwaita: tranlucent shadows inside entries
So evo background changing entry doesn't look broken.